package com.cpsdna.openapi.bean.resp;

import com.cpsdna.openapi.dict.ResultCode;

public class BlankCmdReturnResult extends CmdReturnResult {
	private BlankDetail detail;

	public BlankDetail getDetail() {
		return detail;
	}

	public void setDetail(BlankDetail detail) {
		this.detail = detail;
	}

	public static BlankCmdReturnResult buidFailResult(String resultNote) {
		BlankCmdReturnResult cr = new BlankCmdReturnResult();
		cr.setDetail(new BlankDetail());
		cr.setResult(ResultCode.FAILED);
		cr.setCmd("");
		cr.setResultNote(resultNote);
		return cr;
	}
}
